//
//  CatogryBabyDetailViewController.m
//  project
//
//  Created by lanou on 15/10/30.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "CatogryBabyDetailViewController.h"

@interface CatogryBabyDetailViewController ()

//创建一个webView，宝贝详情界面
@property(nonatomic,strong)UIWebView *giftDetailView;

@end

@implementation CatogryBabyDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    _giftDetailView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, kWidth, kHeight)];
    _giftDetailView.backgroundColor = [UIColor whiteColor];
    NSURLRequest *request = [[NSURLRequest alloc]initWithURL:[NSURL URLWithString:self.model.url]];
    [_giftDetailView loadRequest:request];
    [self.view addSubview:_giftDetailView];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
